<?php
	App::import('Model', 'Config.BaseConfig');
	class AppConfig extends BaseConfig
	{
		var $name = "AppConfig";
		
		var $fieldProperties = array(
			'version'=>array("type"=>"text"),
			);
		function getVersion()
		{
			if(!cr($this->alias))
			{
				$this->init();
			}
			$version = cr($this->alias.'.version');
			return $version;
		}
	}
?>